<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="/admin/header.jsp"></jsp:include>
<div class="main">
	<div class="body container">
		<div class="typecho-page-title">
			<h2>${adminTitle }</h2>
		</div>
		<div class="row typecho-page-main" role="form">
			<div class="col-mb-12 col-tb-6 col-tb-offset-3">
				<form action="${options.siteUrl }/action/admin?do=categoryEdit"
					method="post" enctype="application/x-www-form-urlencoded">
					<ul class="typecho-option" id="typecho-option-item-name-0">
						<li><label class="typecho-label" for="name-0-1"> 分类名称
								*</label> <input id="name-0-1" name="category.name" type="text"
							class="text" value="${category.name }"></li>
					</ul>
					<ul class="typecho-option" id="typecho-option-item-slug-1">
						<li><label class="typecho-label" for="slug-0-2">
								分类缩略名</label> <input id="slug-0-2" name="category.slug" type="text"
							class="text" value="${category.slug }">
							<p class="description">分类缩略名用于创建友好的链接形式, 建议使用字母, 数字, 下划线和横杠.</p>
						</li>
					</ul>
					<ul class="typecho-option" id="typecho-option-item-description-3">
						<li><label class="typecho-label" for="description-0-4">
								分类描述</label> <textarea id="description-0-4" name="category.description">${category.description }</textarea>
							<p class="description">此文字用于描述分类, 在有的主题中它会被显示.</p></li>
					</ul>
					<ul class="typecho-option" id="typecho-option-item-mid-5"
						style="display: none">
						<li><input name="category.mid" type="hidden"
							value="${category.mid}"></li>
						<li><input name="category.type" type="hidden"
							value="category"></li>
					</ul>
					<ul class="typecho-option typecho-option-submit"
						id="typecho-option-item--6">
						<li>
							<button type="submit" class="btn primary">${adminTitle }</button>
						</li>
					</ul>
				</form>
			</div>
		</div>
	</div>
</div>
<jsp:include page="/admin/copyright.jsp"></jsp:include>
<jsp:include page="/admin/common-js.jsp"></jsp:include>
<script src="${options.siteUrl}/admin/js/form.js"></script>
<jsp:include page="/admin/footer.jsp"></jsp:include>
